<div style="background-color:#eeffee">

	<?php if (isset($tmpl_header)): ?>
		<?php include_partial('Viewer/tmpls/'.$tmpl_header) ?>	
	<?php endif; ?>
		
	<?php if ($v) include_partial('Viewer/tmpls/'.$tmpl_name, array('v'=>$v)) ?>

	<?php if (isset($tmpl_footer)): ?>
		<?php include_partial('Viewer/tmpls/'.$tmpl_footer) ?>	
	<?php endif; ?>
	
</div>